import React from "react";

export default function ChildrenComp(props, customRef) {
  return (
    // 比如说我想拿到这个组件的根节点的 DOM
    <div id="targetDiv" ref={customRef}>
      <h3>ChildrenComp</h3>
    </div>
  );
}
